﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="points_for_list.aspx.cs" Inherits="backstage_points_for_list" %>

<%@ Register Src="../cn/UserControl/header.ascx" TagName="header" TagPrefix="uc1" %>
<%@ Register Src="../cn/UserControl/footer.ascx" TagName="footer" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>积分兑换，<%=(new Web.Old_App_Code.BasicSet()).TitleBind() %></title>
    <meta name="Keywords" content="积分兑换，<%=(new Web.Old_App_Code.BasicSet()).KeywordBind() %>" />
    <meta name="Description" content="积分兑换，<%=(new Web.Old_App_Code.BasicSet()).DescriptionBind() %>" />
    <link href="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>css/public.css"
        type="text/css" rel="stylesheet" />
    <link href="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>css/master.css"
        type="text/css" rel="stylesheet" />

    <script language="Javascript" type="text/javascript" src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/jquery-1.6.2.min.js"></script>

    <!-- banner 图片展示效果 -->

    <script src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/channel/slider.js"
        type="text/javascript"></script>

    <!--登陆注册 弹出窗口-->
    <style type="text/css" media="all">
    @import "<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/login/thickbox.css";
    </style>
    <link href="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/login/1024.css" type="text/css" rel="alternate stylesheet"
        title="1024 x 768" />

    <script src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/login/thickbox.js" type="text/javascript"></script>

    <script src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/login/global.js" type="text/javascript"></script>

    <!-- 头部全部分类 三级导航-->

    <script type="text/javascript" src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/allmenu.js"></script>
    
    <link rel="stylesheet" href="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>art_dialog/skins/idialog.css"/>

    <script type="text/javascript" src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>art_dialog/artDialog.js"></script>

    <script type="text/javascript" src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>art_dialog/plugins/iframeTools.source.js"></script>

    <script type="text/javascript" src="<%=(new Web.Old_App_Code.TemplateLoad()).TemplateCssLoad() %>js/art_dialog.js"></script>
    
    <script type="text/javascript">
        function send_request(url, poststr) {
            http_request = false;
            if (window.XMLHttpRequest) {
                http_request = new XMLHttpRequest();
                if (http_request.overrideMimeType) {
                    http_request.overrideMimeType('text/xml');
                }
            } else if (window.ActiveXObject) {
                try {
                    http_request = new ActiveXObject("Msxml2.XMLHTTP");
                } catch (e) {
                    try {
                        http_request = new ActiveXObject("Microsoft.XMLHTTP");
                    } catch (e) { }
                }
            }
            if (!http_request) return false;
            http_request.onreadystatechange = processRequest;
            http_request.open("POST", url, true);
            http_request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
            http_request.send(poststr);
        }
        function processRequest() {
            if (http_request.readyState == 4) {
                if (http_request.status == 200) {
                    if (http_request.responseText == "0")
                        TB_show(null, "/cn/login.html?TB_iframe=true&height=370&width=640", false);
                    else {
                        confirmMessage('您确定要兑换此物品吗？', '/cn/points_for_info.html?id=' + http_request.responseText);
                    }
                } else { }
            }
        }
        function pointsFor(id, integral) {
            send_request("/cn/points_for.ashx", "id=" + id + "&integral=" + integral);
        }
    </script>

</head>
<body>
    <uc1:header ID="Header1" runat="server" />
    <% PointsForBind(); %>        
    <uc2:footer ID="Footer1" runat="server" />
</body>
</html>
